#!/usr/bin/sh

install -m 755 -o root -g root -t /usr/local/bin/ webdav
install -m 644 -o root -g root -t /etc/systemd/system/ webdav.service
systemctl daemon-reload
systemctl enable webdav.service
systemctl start webdav.service
echo "WebDAV service installed and started."